<?php 
/* SVN FILE: $Id$ */
/* StudentResume Test cases generated on: 2009-11-20 06:20:13 : 1258698013*/
App::import('Model', 'StudentResume');

class StudentResumeTestCase extends CakeTestCase {
	var $StudentResume = null;
	var $fixtures = array('app.student_resume', 'app.student');

	function startTest() {
		$this->StudentResume =& ClassRegistry::init('StudentResume');
	}

	function testStudentResumeInstance() {
		$this->assertTrue(is_a($this->StudentResume, 'StudentResume'));
	}

	function testStudentResumeFind() {
		$this->StudentResume->recursive = -1;
		$results = $this->StudentResume->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('StudentResume' => array(
			'id'  => 1,
			'student_id'  => 1,
			'intention'  => 'Lorem ipsum dolor sit amet',
			'education'  => 'Lorem ipsum dolor sit amet',
			'awards'  => 'Lorem ipsum dolor sit amet',
			'ability'  => 'Lorem ipsum dolor sit amet',
			'created'  => '2009-11-20 06:20:13',
			'modified'  => '2009-11-20 06:20:13'
		));
		$this->assertEqual($results, $expected);
	}
}
?>